package com.ssy.lingxi.member.merchant.model.vo.maintenance.request;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 系统能力 - 手机验证码或邮箱验证码，修改用户邮箱接口参数VO
 * @author 万宁
 * @version 2.0.0
 * @date 2020-07-06
 */
public class UserUpdateEmailVO implements Serializable {
    private static final long serialVersionUID = 7274165005717961472L;

    /**
     * 邮箱验证码
     */
    @NotBlank(message = "邮箱验证码不能为空")
    private String smsCode;

    /**
     * 邮箱
     */
    @NotBlank(message = "邮箱不能为空")
    @Email(message = "邮箱格式不正确")
    private String email;

    public String getSmsCode() {
        return smsCode;
    }

    public void setSmsCode(String smsCode) {
        this.smsCode = smsCode;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }
}
